package com.yxsd.mapper;

import com.yxsd.common.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * SupplierMapper
 *
 * @author: zhangteng
 * @time: 2015/1/5 17:28
 */
public interface SupplierMapper {

    public List<Supplier> queryByCondition(Map<String, Object> params) throws Exception;

    public int queryCountByCondition(@Param("search") String search) throws Exception;

    public List<Supplier> queryAll() throws Exception;
}
